package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


import java.math.BigDecimal;

/**
 * 油厂数据管理对象 yc_data
 *
 * @author ruoyi
 * @date 2022-10-23
 */
public class YcBar extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    @Excel(name = "组织名称")
    private String orgName;

    /** 数据序号 */
    private Long dataId;

    /** 指标序号 */
    @Excel(name = "指标序号")
    private Long indeId;

    /** 组织序号 */
    @Excel(name = "组织序号")
    private Long orgId;

    /** 维度值 */
    @Excel(name = "维度值")
    private Integer dataDimension;

    /** 数据值 */
    @Excel(name = "数据值")
    private BigDecimal dataValue;

    /** 维度 */
    @Excel(name = "维度")
    private Integer dimension;

    /** 状态值 */
    @Excel(name = "状态值")
    private Integer status;

    /** 数据年份 */
    @Excel(name = "数据年份")
    private Integer dataYear;

    @Excel(name = "合格")
    private Integer upToStandard;

    @Excel(name = "排名")
    private Integer ranking;

    private YcInde ycInde;

    private YcOrg ycOrg;

    public YcInde getYcInde(){
        return ycInde;
    }

    public void setYcInde(YcInde ycInde){
        this.ycInde = ycInde;
    }

    public YcOrg getYcOrg(){
        return ycOrg;
    }

    public void setYcOrg(YcOrg ycOrg) {
        this.ycOrg = ycOrg;
    }

    public void setDataId(Long dataId)
    {
        this.dataId = dataId;
    }

    public Long getDataId()
    {
        return dataId;
    }
    public void setIndeId(Long indeId)
    {
        this.indeId = indeId;
    }

    public Long getIndeId()
    {
        return indeId;
    }
    public void setOrgId(Long orgId)
    {
        this.orgId = orgId;
    }

    public Long getOrgId()
    {
        return orgId;
    }
    public void setDataDimension(Integer dataDimension)
    {
        this.dataDimension = dataDimension;
    }

    public Integer getDataDimension()
    {
        return dataDimension;
    }
    public void setDataValue(BigDecimal dataValue)
    {
        this.dataValue = dataValue;
    }

    public BigDecimal getDataValue()
    {
        return dataValue;
    }
    public void setDimension(Integer dimension)
    {
        this.dimension = dimension;
    }

    public Integer getDimension()
    {
        return dimension;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setDataYear(Integer dataYear)
    {
        this.dataYear = dataYear;
    }

    public Integer getDataYear()
    {
        return dataYear;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public Integer getUpToStandard() {
        return upToStandard;
    }

    public void setUpToStandard(Integer upToStandard) {
        this.upToStandard = upToStandard;
    }

    public Integer getRanking() {
        return ranking;
    }

    public void setRanking(Integer ranking) {
        this.ranking = ranking;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("dataId", getDataId())
                .append("indeId", getIndeId())
                .append("orgId", getOrgId())
                .append("dataDimension", getDataDimension())
                .append("dataValue", getDataValue())
                .append("createTime", getCreateTime())
                .append("dimension", getDimension())
                .append("status", getStatus())
                .append("dataYear", getDataYear())
                .append("ycInde",getYcInde())
                .append("ycOrg",getYcOrg())
                .append("orgName",getOrgName())
                .append("upToStandard",getUpToStandard())
                .append("ranking", getRanking())
                .toString();
    }


}
